﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wasion.HHU.ViewModels
{
    public class UserViewModel
    {
        public string Name { get; set; }
        public LevelType levelType { get; set; }
        public bool IsLogin { get; set; }
        public List<UserRole> Roles {get;set;}
    }

    public class UserRole
    {
        public string RoleName { get; set; }

        public bool AllowRead { get; set; }

        public bool AllowWrite { get; set; }
    }

    public enum LevelType
    {
        Beginner, Intermediate, Advanced
    }
}
